﻿//Copyright (C) <2013>  <jonathan cleeve norton> All Rights Reserved 
//Contact jon.norton@fin-plus.co.uk website <http://www.fin-plus.co.uk/>
using System;
using System.Collections.Generic;

namespace FinPlusInterfaces
{
    public interface IThrottle
    {
        bool IsBusy { get; set;}

        void Start(Action<IDictionary<string, object>> sendAction);

        void Put(object value);

        void Put(string key, object value);

        void Put(string key, object value, DateTime timeStamp);

        void Resend(string key);

        void Dispose();
    }
}
